package cn.kgc.service;

import cn.kgc.pojo.Provider;
import cn.kgc.util.PageBean;

import java.util.List;
import java.util.Map;

/**
 * @author 蒿雨
 * @create 2021-11-04 14:34
 */
public interface ProviderService {
    int getTotalCount(Map<String,Object> map);

    PageBean<Provider> getProviderList(Map<String,Object> map);

    boolean addProvider(Provider provider);
    Provider getP(int id);

    boolean isFull(int id);

    int delete(int id);

    boolean providerModify(Provider provider);

    List<Provider> PROVIDERS();
}
